package org.example.computerdesign.domain.dto;

import lombok.Data;
import org.hibernate.validator.constraints.Email;
import org.hibernate.validator.constraints.NotBlank;
/**
 * @author 朱文权
 * */
@Data
public class CodeBody {
    @NotBlank(message = "邮箱不得为空")
    @Email
    private String email;
}
